try{
	Type.registerNamespace('StockUpVO');
	//备货————货位调整单
	StockUpVO = function(){};
	StockUpVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	StockUpVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头部分
	//仓库
	StockUpVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	StockUpVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	StockUpVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//行号
	StockUpVO.CROWNO={
		name:"crowno", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	StockUpVO.PK_MATERIAL={
		name:"pk_material", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	StockUpVO.PK_MATERIAL_CODE={
		name:"pk_material_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	StockUpVO.PK_MATERIAL_NAME={
		name:"pk_material_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	StockUpVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	StockUpVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主数量
	StockUpVO.NNUM={
		name:"nnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅数量
	StockUpVO.NASSISTNUM={
		name:"nassistnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	StockUpVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	StockUpVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	StockUpVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	StockUpVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	StockUpVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	StockUpVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	StockUpVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	StockUpVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位
	StockUpVO.ZCPK_RACK={
		name:"zcpk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位编码
	StockUpVO.ZCPK_RACK_CODE={
		name:"zcpk_rack_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位名称
	StockUpVO.ZCPK_RACK_NAME={
		name:"zcpk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位
	StockUpVO.ZRPK_RACK={
		name:"zrpk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位编码
	StockUpVO.ZRPK_CODE={
		name:"zrpk_rack_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位名称
	StockUpVO.ZRPK_RACK_NAME={
		name:"zrpk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	StockUpVO.prototype.getAllAttrs = function(){
		return [StockUpVO.PK_SCAN,
		StockUpVO.CWAREHOUSEID,
		StockUpVO.CWAREHOUSEID_NAME,
		StockUpVO.PK_ORG,
		StockUpVO.CROWNO,
		StockUpVO.PK_MATERIAL,
		StockUpVO.PK_MATERIAL_CODE,
		StockUpVO.PK_MATERIAL_NAME,
		StockUpVO.MATERIALSPEC,
		StockUpVO.MATERIALTYPE,
		StockUpVO.NNUM,
		StockUpVO.NASSISTNUM,
		StockUpVO.VCHANGERATE,
		StockUpVO.CUNITID,
		StockUpVO.CUNITID_NAME,
		StockUpVO.CASTUNITID,
		StockUpVO.CASTUNITID_NAME,
		StockUpVO.VBATCHCODE,
		StockUpVO.PK_BATCHCODE,
		StockUpVO.VSERIALCODE,
		StockUpVO.ZCPK_RACK,
		StockUpVO.ZCPK_RACK_CODE,
		StockUpVO.ZCPK_RACK_NAME,
		StockUpVO.ZRPK_RACK,
		StockUpVO.ZRPK_CODE,
		StockUpVO.ZRPK_RACK_NAME
    ]};
    
    StockUpVO.prototype.getTableName = function(){
		return "ic_stockup";
	};
	StockUpVO.prototype.getPrimaryAttr = function(){
		return StockUpVO.PK_SCAN;
	};
	
}catch(e){$e(e);}